import request from '@/utils/request.js'

//注册
export var zhuce=(ruleForm)=>{
    var sh={...ruleForm.value}
  return  request.post("/util/user/UserZhuCe",sh)
}
//登录
export var denglu=(ruleForms)=>{
  var dl={...ruleForms.value}
  return request.post("/util/user/SelectUser",dl)
}
//注册时的身份
export var shenfen=(categorys)=>{
 return request.post("/util/role/SelectRole",categorys.value)
}
// //登陆时的身份
// export var dlshenfen=(caches)=>{
//   return request.post("/util/role/SelectRole",caches.value)
// }
//修改密码
export var xiugaishanghu=(obj)=>{
  return request.post("/util/user/UpdataUser",obj.value)
}

//实名认证
export var shiming=(obj)=>{
  return request.post("/util/id-card/zengorgai",obj.value)
}
//获取实名信息
export var shiminginfo=(id)=>{
  return request.post("/util/id-card/xianqing/"+id)
}
